PREVIEW: In this lesson, we'll be finishing our game of rock, paper, scissors by using if-statements that test two conditions at the same time to determine who won!

  • Look at the code. Can you tell which lines are testing two variables at the same time?
  • Click Run and play the against the computer to see an example.
  • Click Submit and Next when you are ready to continue.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)